package com.labot.webapp.action.messages;

public enum TextMessagesType {
	
	DATE_FORMAT("date.format"),

	CONFIGACTION_ERROR_DATA("configAction.error.data"),
	CONFIGACTION_SAVE_TITLE("configAction.saveTitle"),
	CONFIGACTION_ERROR_SAVE("configAction.error.save"),
	CONFIGACTION_RELOAD("configAction.reload"),
	CONFIGACTION_NO_MODIFICATIONS("configAction.noModifications"),
	TEST_MAIL_SUBJECT("test.mail.subject"),
	TEST_MAIL_BODY("test.mail.body"),
	CONFIGACTION_CHECKMAIL_SENT("checkmail.sent"),
	CONFIGACTION_TEST_MAIL_ERROR("test.mail.error"),
	
	RESET_PASSWORD_NEW_USERNAME("reset.new.password"),
	RESET_PASSWORD_USERNAME_NOT_FOUND("reset.password.not.found"),
	RESET_PASSWORD_ERROR_LOGINTYPE("reset.error.logintype"),
	RESET_PASSWORD_ERROR_USERNAME("reset.error.username"),
	
	RELOADACTION_RELOAD_SUCCEDED("reload.succeeded"),
	
	RESOURCEBUNDLEACTION_SAVETITLE("bundleAction.saveTitle"),
	RESOURCEBUNDLEACTION_SAVE("bundleAction.error.save"),
	RESOURCEBUNDLEACTION_ERROR_CREATE("bundleAction.error.create"),
	RESOURCEBUNDLEACTION_NO_MODIFICATIONS("bundleAction.noModifications"),
	RESOURCEBUNDLEACTION_DELETE("bundleAction.delete"),
	
	USERACTION_DELETE("user.deleted"),
	USERACTION_USERPROFILE_COOKIE_LOGIN("userProfile.cookieLogin"),
	USERACTION_USER_SAVED("user.saved"),
	USERACTION_USER_ADDED("user.added"),
	USERACTION_USER_UPDATE_BY_ADMIN("user.updated.byAdmin"),
	USERACTION_ERROR_EMPTY_PASSWORD("errors.password.empty"),
	USERACTION_ERROR_EXISTING_USER("errors.existing.user"),
	
	
	USERLDAPACTION_PASSWORD_HINT_TEXT("user.password.hint.text"),
	USERLDAPACTION_ERROR_LDAP_DISABLED("errors.ldap.disabled"),
	
	FILEUPLOADACTION_ERRORS_REQUIREDFILEDS("errors.requiredField"),
	FILEUPLOADACTION_UPLOADFORM_FILE("uploadForm.file"),
	FILEUPLOADACTION_MAX_LENGTH_EXCEEDED("maxLengthExceeded"),
	
	SIGNUPACTION_ERRORS_EXISTING_USER("errors.existing.user"),
	SIGNUPACTION_USER_REGISTERED("user.registered"),
	SIGNUP_EMAIL_SUBJECT("signup.email.subject"),
	SIGNUP_EMAIL_MESSAGE("signup.email.message"),
	SIGNUP_EMAIL_MESSAGE_NEWUSER("newuser.email.message"),
	
	EDIT_MAIL_SUCCESS("edit.mail.success"),
	
	AUDIT_LIST_TOO_MANY_RESULTS("audit.list.too.many"),
	
	SEND_PREVIEW("edit.mail.preview");
	
	private String key;
	private TextMessagesType(String key) {
		this.key = key;
	}
	
	public String getKey() {
		return key;
	}
}
